package Pattern.Observer.weather;

import Pattern.Observer.weather.Observer.CurrentConditionsDisplay;
import Pattern.Observer.weather.Observer.HeatIndexDisplay;
import Pattern.Observer.weather.Subject.WeatherData;

public class WeatherStation {
    public static void main(String[] args) throws InterruptedException {
        WeatherData weatherData=new WeatherData();

        CurrentConditionsDisplay currentConditionsDisplay=new CurrentConditionsDisplay(weatherData);
        HeatIndexDisplay heatIndexDisplay=new HeatIndexDisplay(weatherData);

        weatherData.setMeasurements(80,65,30.4f);

    }
}
